#include"List.h"
void Test1()
{
	LTNode* ps = LTInit();
	LTPushBack(ps, 1);
	LTPushBack(ps, 2);
	LTPushBack(ps, 3);
	LTPushBack(ps, 4);
	LTPushBack(ps, 5);
	LTPrint(ps);
	LTPopBack(ps);
	LTPrint(ps);
	LTPushFront(ps, 5);
	LTPrint(ps);
	LTPopFront(ps);
	LTPrint(ps);
	LTNode* pos = LTFind(ps, 1);
	LTInsert(pos, 20);
	LTPrint(ps);
	pos = LTFind(ps, 20);
	LTErase(pos);
	LTPrint(ps);
	LTDestory(ps);
}
int main()
{
	Test1();
	return 0;
}